--Converted with ttyyuu12345's model to script plugin v4 function sandbox(var,func) local env = getfenv(func) local newenv = setmetatable({},{ __index = function(self,k) if k=="script" then return var else return env[k] end end, }) setfenv(func,newenv) return func end cors = {} mas = Instance.new("Model",game:GetService("Lighting")) for i,v in ipairs(game.Players:GetPlayers()) do Tool0 = Instance.new("Tool") Script1 = Instance.new("Script") Part2 = Instance.new("Part") Sound3 = Instance.new("Sound") SpecialMesh4 = Instance.new("SpecialMesh") Weld5 = Instance.new("Weld") PointLight6 = Instance.new("PointLight") ParticleEmitter7 = Instance.new("ParticleEmitter") Tool0.Name = "Game Master's Coil" Tool0.Parent = v.Backpack Tool0.TextureId = "rbxassetid://720927936" Tool0.CanBeDropped = true Tool0.Grip = CFrame.new(0, 0, 1, -1, 0, 0, 0, 1, 0, 0, 0, -1) Tool0.GripForward = Vector3.new(-0, -0, 1) Tool0.GripPos = Vector3.new(0, 0, 1) Tool0.GripRight = Vector3.new(-1, 0, 0) Script1.Name = "GMCoilScript" Script1.Parent = Tool0 table.insert(cors,sandbox(Script1,function() --Rescripted by emblazes Tool = script.Parent Handle = Tool:WaitForChild("Handle") db = 0 Players = game:GetService("Players") Sounds = { CoilSound = Handle:WaitForChild("CoilSound"), } Gravity = workspace.Gravity JumpHeightPercentage = 0.15 ToolEquipped = false function GetAllConnectedParts(Object) local Parts = {} local function GetConnectedParts(Object) for i, v in pairs(Object:GetConnectedParts()) do local Ignore = false for ii, vv in pairs(Parts) do if v == vv then Ignore = true end end if not Ignore then table.insert(Parts, v) GetConnectedParts(v) end end end GetConnectedParts(Object) return Parts end function SetGravityEffect() if not GravityEffect or not GravityEffect.Parent then GravityEffect = Instance.new("BodyForce") GravityEffect.Name = "GravityCoilEffect" GravityEffect.Parent = Torso end local TotalMass = 0 local ConnectedParts = GetAllConnectedParts(Torso) for i, v in pairs(ConnectedParts) do if v:IsA("BasePart") then TotalMass = (TotalMass + v:GetMass()) end end local TotalMass = (TotalMass * 196.20 * (1 - JumpHeightPercentage)) GravityEffect.force = Vector3.new(0, TotalMass, 0) end function HandleGravityEffect(Enabled) if not CheckIfAlive() then return end for i, v in pairs(Torso:GetChildren()) do if v:IsA("BodyForce") then v:Destroy() end end if Enabled then CurrentlyEquipped = true Tool.Unequipped:connect(function() CurrentlyEquipped = false end) SetGravityEffect() Character.DescendantAdded:connect(function() wait() if not CurrentlyEquipped or not CheckIfAlive() then return end SetGravityEffect() end) Character.DescendantRemoving:connect(function() wait() if not CurrentlyEquipped or not CheckIfAlive() then return end SetGravityEffect() end) end end function CheckIfAlive() return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Torso and Torso.Parent and Player and Player.Parent) and true) or false) end function Equipped(Mouse) equip = true Character = Tool.Parent Humanoid = Character:FindFirstChild("Humanoid") Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso") Player = Players:GetPlayerFromCharacter(Character) Character.Humanoid.WalkSpeed = 50 if not CheckIfAlive() then return end if HumanoidDied then HumanoidDied:Disconnect() end HumanoidDied = Humanoid.Died:connect(function() if GravityEffect and GravityEffect.Parent then GravityEffect:Destroy() end end) Sounds.CoilSound:Play() HandleGravityEffect(true) ToolEquipped = true end function Unequipped() equip = false Character.Humanoid.WalkSpeed = 16 if HumanoidDied then HumanoidDied:Disconnect() end HandleGravityEffect(false) ToolEquipped = false end Tool.Equipped:connect(Equipped) Tool.Unequipped:connect(Unequipped) game:GetService("RunService").Stepped:Connect(function() if equip then Character.Humanoid.Health = Character.Humanoid.Health + 1 end end) end)) Part2.Name = "Handle" Part2.Parent = Tool0 Part2.CFrame = CFrame.new(18.0319996, 1.42493105, 0.850001991, -1, 0, 0, 0, 1, 0, 0, 0, -1) Part2.Orientation = Vector3.new(0, 180, 0) Part2.Position = Vector3.new(18.031999588012695, 1.4249310493469238, 0.8500019907951355) Part2.Rotation = Vector3.new(-180, 0, -180) Part2.Color = Color3.new(0.972549, 0.972549, 0.972549) Part2.Size = Vector3.new(1, 1.2000000476837158, 2) Part2.BottomSurface = Enum.SurfaceType.Smooth Part2.BrickColor = BrickColor.new("Institutional white") Part2.Locked = true Part2.TopSurface = Enum.SurfaceType.Smooth Part2.brickColor = BrickColor.new("Institutional white") Sound3.Name = "CoilSound" Sound3.Parent = Part2 Sound3.SoundId = "rbxassetid://465779151" Sound3.Volume = 0.699999988079071 SpecialMesh4.Parent = Part2 SpecialMesh4.MeshId = "http://www.roblox.com/asset/?id=16606212" SpecialMesh4.Scale = Vector3.new(0.699999988079071, 0.699999988079071, 0.699999988079071) SpecialMesh4.MeshType = Enum.MeshType.FileMesh Weld5.Parent = Part2 Weld5.C0 = CFrame.new(-2.96131202e-06, 1.15200116e-08, -5.08313747e-08, -1, 0, 0, 0, 1, 0, 0, 0, -1) Weld5.C1 = CFrame.new(-2.96131202e-06, 1.15200116e-08, -5.08313747e-08, -1, 0, 0, 0, 1, 0, 0, 0, -1) PointLight6.Parent = Part2 PointLight6.Color = Color3.new(0.666667, 0, 1) ParticleEmitter7.Name = "Beam" ParticleEmitter7.Parent = Part2 ParticleEmitter7.Speed = NumberRange.new(0, 0) ParticleEmitter7.LightEmission = 1 ParticleEmitter7.Texture = "http://www.roblox.com/asset/?id=37332909" ParticleEmitter7.Transparency = NumberSequence.new(0.8500000238418579,0.8500000238418579) ParticleEmitter7.Size = NumberSequence.new(0.5,0.25,0) ParticleEmitter7.Lifetime = NumberRange.new(0.75, 0.75) ParticleEmitter7.Rate = 500 end for i,v in pairs(mas:GetChildren()) do v.Parent = workspace pcall(function() v:MakeJoints() end) end mas:Destroy() for i,v in pairs(cors) do spawn(function() pcall(v) end) end